require('../css/countDown.less')


$authr()


document.ready(function () {

    let countDown = document.querySelector('#countDown');

    console.log(countDown);
    let count = Number.parseInt(countDown.innerHTML)

    let inter = setInterval(() => {
        count--
        countDown.innerHTML = count
        if (count == 0) {
            countDown.innerHTML = "GO"
            clearInterval(inter)
            setTimeout(() => {
                location.href = "./runing.html"
            }, 1000);
        }
    }, 1000);


})